﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bluefly
{

    public class PositionEventArgs : EventArgs
    {


        internal PositionEventArgs(Position position)
        {
            Position = position;

        }

        public Position Position
        {
            get;
            private set;
        }



      
    
    
    
    }
    
    
    
    public class ConnectionStateEventArgs : EventArgs
    {

        internal ConnectionStateEventArgs(ConnectionState newstate, ConnectionState oldstate)
        {
            NewState = newstate;
            OldState = oldstate;

        }

        public ConnectionState NewState
        {
            get;
            private set;
        }



        public ConnectionState OldState
        {
            get;
            private set;
        }


    }
}
